//
// Created by Administrator on 2020/7/12 0012.
//

#ifndef MANAGEMENTSYSTEM_STAFF_H
#define MANAGEMENTSYSTEM_STAFF_H
#include <iostream>
#include <cstring>
#include <stdlib.h>
#include <vector>
#include <fstream>
using namespace std;

class Staff{
protected:
    string NO;
    string name;
    int age;
public:
    const string &getNo() const;

    void setNo(const string &no);

    const string &getName() const;

    void setName(const string &name);

    int getAge() const;

    void setAge(int age);


public:
    Staff(string no,string name,int age);
    virtual ~Staff(){}
    virtual void showData() const =0;//员工星信息
    virtual string getTitle()const =0;//员工职称
    virtual double getSales()const
    {  };//得到员工销售额
    virtual void setSales(double sales)const
    {  };//修改员工销售额

};



#endif //MANAGEMENTSYSTEM_STAFF_H
